<div id="root">
  <input data-field="text"/>
  <button data-field="button">Button</button>
</div>